package com.zyf.pattern.strategy.pay.payport;

import com.zyf.pattern.strategy.pay.PayState;

/**
 * create by yifeng
 */
public interface Payment {
    // 每次增加一个支付渠道，就要去维护这个接口一次
//    Payment ALI_PAY = new AliPay();
//    Payment WECHAT_PAY = new WechatPay();
//    Payment UNION_PAY = new UnionPay();

    public PayState pay(String uid, double amount);

}
